package 
{
	import flash.display.Bitmap;
	import flash.display.BitmapData;
	import flash.display.BlendMode;
	import flash.events.EventDispatcher;
	import flash.geom.ColorTransform;
	import flash.geom.Matrix;
	import flash.geom.Point;
	import flash.geom.Rectangle;

	public class VDDImageInfo extends EventDispatcher
	{
		public var parentVDD:VDD;
		public var idx:int = -1;
		public var type : int = 0;
		public var x:int = 0;
		public var y:int = 0;
		public var imageData : BitmapData = null;
		public var width:int;
		public var height:int;
		public var imageDataGray:BitmapData = null;
		public var delayTime:int;
		public var imageName:String;
		public var blendMode:String;
		
		private var pt:Point = new Point;
		private var mMatrix:Matrix = new Matrix();
		private var rc:Rectangle  = new Rectangle();
		
		public var vddUrl:String;
		
		public function VDDImageInfo()
		{
			super();
		}
		
		public function theDest():void
		{
			if (imageData)
			{
				imageData.dispose();
				imageData = null;
			}
			if (imageDataGray)
			{
				imageDataGray.dispose();
				imageDataGray = null;
			}
			parentVDD = null;
		}
		
	}
}